package cherry.orange.entities;

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;

import cherry.orange.CollisionResponse;
import cherry.orange.Game;

public abstract class Entity {
	private float x, y, width, height;

	public float getWidth() {
		return width;
	}

	public void setWidth(float width) {
		this.width = width;
	}

	public float getHeight() {
		return height;
	}

	public void setHeight(float height) {
		this.height = height;
	}

	public float getX() {
		return x;
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getY() {
		return y;
	}

	public void setY(float y) {
		this.y = y;
	}
	
	public void move(float deltaX, float deltaY) {
		this.x += deltaX;
		this.y += deltaY;
	}
	
	public abstract void render(GameContainer container, Game game, Graphics g);
	public abstract void update(GameContainer container, Game game, int delta);
	
}
